package com.paobuji.aidebao.myapplication.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lenovo on 2017/3/13.
 */

public class GetSportHistoryList {


    /**
     * code : 0
     * msg : 成功
     * data : {"extra":{"totalSize":2,"size":10,"totalPage":1,"page":0},"sporthitorylist":[{"sportDate":"20170316","alldis":15.5,"sportTime":2555,"id":2,"allCor":16.45},{"sportDate":"20170313","alldis":46.5,"sportTime":7665,"id":1,"allCor":49.349999999999994}]}
     */

    private int code;
    private String msg;
    /**
     * extra : {"totalSize":2,"size":10,"totalPage":1,"page":0}
     * sporthitorylist : [{"sportDate":"20170316","alldis":15.5,"sportTime":2555,"id":2,"allCor":16.45},{"sportDate":"20170313","alldis":46.5,"sportTime":7665,"id":1,"allCor":49.349999999999994}]
     */

    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * totalSize : 2
         * size : 10
         * totalPage : 1
         * page : 0
         */

        private ExtraBean extra;
        /**
         * sportDate : 20170316
         * alldis : 15.5
         * sportTime : 2555
         * id : 2
         * allCor : 16.45
         */

        private List<SporthitorylistBean> sporthitorylist;

        public ExtraBean getExtra() {
            return extra;
        }

        public void setExtra(ExtraBean extra) {
            this.extra = extra;
        }

        public List<SporthitorylistBean> getSporthitorylist() {
            return sporthitorylist;
        }

        public void setSporthitorylist(List<SporthitorylistBean> sporthitorylist) {
            this.sporthitorylist = sporthitorylist;
        }

        public static class ExtraBean {
            private int totalSize;
            private int size;
            private int totalPage;
            private int page;

            public int getTotalSize() {
                return totalSize;
            }

            public void setTotalSize(int totalSize) {
                this.totalSize = totalSize;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public int getTotalPage() {
                return totalPage;
            }

            public void setTotalPage(int totalPage) {
                this.totalPage = totalPage;
            }

            public int getPage() {
                return page;
            }

            public void setPage(int page) {
                this.page = page;
            }
        }

        public static class SporthitorylistBean implements Serializable {
            private String sportDate;
            private double alldis;
            private int sportTime;
            private int id;
            private double allCor;

            public String getSportDate() {
                return sportDate;
            }

            public void setSportDate(String sportDate) {
                this.sportDate = sportDate;
            }

            public double getAlldis() {
                return alldis;
            }

            public void setAlldis(double alldis) {
                this.alldis = alldis;
            }

            public int getSportTime() {
                return sportTime;
            }

            public void setSportTime(int sportTime) {
                this.sportTime = sportTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public double getAllCor() {
                return allCor;
            }

            public void setAllCor(double allCor) {
                this.allCor = allCor;
            }
        }
    }
}
